Optimal. Leaf size=86 \[ \frac {(a+b x)^4 (-5 a B e+A b e+4 b B d)}{20 e (d+e x)^4 (b d-a e)^2}-\frac {(a+b x)^4 (B d-A e)}{5 e (d+e x)^5 (b d-a e)} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 86, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {78, 37} \begin {gather*} \frac {(a+b x)^4 (-5 a B e+A b e+4 b B d)}{20 e (d+e x)^4 (b d-a e)^2}-\frac {(a+b x)^4 (B d-A e)}{5 e (d+e x)^5 (b d-a e)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 78
Rubi steps
\begin {align*} \int \frac {(a+b x)^3 (A+B x)}{(d+e x)^6} \, dx &=-\frac {(B d-A e) (a+b x)^4}{5 e (b d-a e) (d+e x)^5}+\frac {(4 b B d+A b e-5 a B e) \int \frac {(a+b x)^3}{(d+e x)^5} \, dx}{5 e (b d-a e)}\\ &=-\frac {(B d-A e) (a+b x)^4}{5 e (b d-a e) (d+e x)^5}+\frac {(4 b B d+A b e-5 a B e) (a+b x)^4}{20 e (b d-a e)^2 (d+e x)^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.10, size = 211, normalized size = 2.45 \begin {gather*} -\frac {a^3 e^3 (4 A e+B (d+5 e x))+a^2 b e^2 \left (3 A e (d+5 e x)+2 B \left (d^2+5 d e x+10 e^2 x^2\right )\right )+a b^2 e \left (2 A e \left (d^2+5 d e x+10 e^2 x^2\right )+3 B \left (d^3+5 d^2 e x+10 d e^2 x^2+10 e^3 x^3\right )\right )+b^3 \left (A e \left (d^3+5 d^2 e x+10 d e^2 x^2+10 e^3 x^3\right )+4 B \left (d^4+5 d^3 e x+10 d^2 e^2 x^2+10 d e^3 x^3+5 e^4 x^4\right )\right )}{20 e^5 (d+e x)^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(a+b x)^3 (A+B x)}{(d+e x)^6} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.76, size = 304, normalized size = 3.53 \begin {gather*} -\frac {20 \, B b^{3} e^{4} x^{4} + 4 \, B b^{3} d^{4} + 4 \, A a^{3} e^{4} + {\left (3 \, B a b^{2} + A b^{3}\right )} d^{3} e + 2 \, {\left (B a^{2} b + A a b^{2}\right )} d^{2} e^{2} + {\left (B a^{3} + 3 \, A a^{2} b\right )} d e^{3} + 10 \, {\left (4 \, B b^{3} d e^{3} + {\left (3 \, B a b^{2} + A b^{3}\right )} e^{4}\right )} x^{3} + 10 \, {\left (4 \, B b^{3} d^{2} e^{2} + {\left (3 \, B a b^{2} + A b^{3}\right )} d e^{3} + 2 \, {\left (B a^{2} b + A a b^{2}\right )} e^{4}\right )} x^{2} + 5 \, {\left (4 \, B b^{3} d^{3} e + {\left (3 \, B a b^{2} + A b^{3}\right )} d^{2} e^{2} + 2 \, {\left (B a^{2} b + A a b^{2}\right )} d e^{3} + {\left (B a^{3} + 3 \, A a^{2} b\right )} e^{4}\right )} x}{20 \, {\left (e^{10} x^{5} + 5 \, d e^{9} x^{4} + 10 \, d^{2} e^{8} x^{3} + 10 \, d^{3} e^{7} x^{2} + 5 \, d^{4} e^{6} x + d^{5} e^{5}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 1.20, size = 281, normalized size = 3.27 \begin {gather*} -\frac {{\left (20 \, B b^{3} x^{4} e^{4} + 40 \, B b^{3} d x^{3} e^{3} + 40 \, B b^{3} d^{2} x^{2} e^{2} + 20 \, B b^{3} d^{3} x e + 4 \, B b^{3} d^{4} + 30 \, B a b^{2} x^{3} e^{4} + 10 \, A b^{3} x^{3} e^{4} + 30 \, B a b^{2} d x^{2} e^{3} + 10 \, A b^{3} d x^{2} e^{3} + 15 \, B a b^{2} d^{2} x e^{2} + 5 \, A b^{3} d^{2} x e^{2} + 3 \, B a b^{2} d^{3} e + A b^{3} d^{3} e + 20 \, B a^{2} b x^{2} e^{4} + 20 \, A a b^{2} x^{2} e^{4} + 10 \, B a^{2} b d x e^{3} + 10 \, A a b^{2} d x e^{3} + 2 \, B a^{2} b d^{2} e^{2} + 2 \, A a b^{2} d^{2} e^{2} + 5 \, B a^{3} x e^{4} + 15 \, A a^{2} b x e^{4} + B a^{3} d e^{3} + 3 \, A a^{2} b d e^{3} + 4 \, A a^{3} e^{4}\right )} e^{\left (-5\right )}}{20 \, {\left (x e + d\right )}^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.01, size = 281, normalized size = 3.27 \begin {gather*} -\frac {B \,b^{3}}{\left (e x +d \right ) e^{5}}-\frac {\left (A b e +3 B a e -4 B b d \right ) b^{2}}{2 \left (e x +d \right )^{2} e^{5}}-\frac {\left (A a b \,e^{2}-A d \,b^{2} e +B \,a^{2} e^{2}-3 B d a b e +2 B \,b^{2} d^{2}\right ) b}{\left (e x +d \right )^{3} e^{5}}-\frac {3 A \,a^{2} b \,e^{3}-6 A d a \,b^{2} e^{2}+3 A \,d^{2} b^{3} e +B \,a^{3} e^{3}-6 B d \,a^{2} b \,e^{2}+9 B \,d^{2} a \,b^{2} e -4 B \,b^{3} d^{3}}{4 \left (e x +d \right )^{4} e^{5}}-\frac {A \,a^{3} e^{4}-3 A d \,a^{2} b \,e^{3}+3 A \,d^{2} a \,b^{2} e^{2}-A \,d^{3} b^{3} e -B d \,a^{3} e^{3}+3 B \,d^{2} a^{2} b \,e^{2}-3 B \,d^{3} a \,b^{2} e +B \,b^{3} d^{4}}{5 \left (e x +d \right )^{5} e^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.57, size = 304, normalized size = 3.53 \begin {gather*} -\frac {20 \, B b^{3} e^{4} x^{4} + 4 \, B b^{3} d^{4} + 4 \, A a^{3} e^{4} + {\left (3 \, B a b^{2} + A b^{3}\right )} d^{3} e + 2 \, {\left (B a^{2} b + A a b^{2}\right )} d^{2} e^{2} + {\left (B a^{3} + 3 \, A a^{2} b\right )} d e^{3} + 10 \, {\left (4 \, B b^{3} d e^{3} + {\left (3 \, B a b^{2} + A b^{3}\right )} e^{4}\right )} x^{3} + 10 \, {\left (4 \, B b^{3} d^{2} e^{2} + {\left (3 \, B a b^{2} + A b^{3}\right )} d e^{3} + 2 \, {\left (B a^{2} b + A a b^{2}\right )} e^{4}\right )} x^{2} + 5 \, {\left (4 \, B b^{3} d^{3} e + {\left (3 \, B a b^{2} + A b^{3}\right )} d^{2} e^{2} + 2 \, {\left (B a^{2} b + A a b^{2}\right )} d e^{3} + {\left (B a^{3} + 3 \, A a^{2} b\right )} e^{4}\right )} x}{20 \, {\left (e^{10} x^{5} + 5 \, d e^{9} x^{4} + 10 \, d^{2} e^{8} x^{3} + 10 \, d^{3} e^{7} x^{2} + 5 \, d^{4} e^{6} x + d^{5} e^{5}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.12, size = 307, normalized size = 3.57 \begin {gather*} -\frac {\frac {B\,a^3\,d\,e^3+4\,A\,a^3\,e^4+2\,B\,a^2\,b\,d^2\,e^2+3\,A\,a^2\,b\,d\,e^3+3\,B\,a\,b^2\,d^3\,e+2\,A\,a\,b^2\,d^2\,e^2+4\,B\,b^3\,d^4+A\,b^3\,d^3\,e}{20\,e^5}+\frac {x\,\left (B\,a^3\,e^3+2\,B\,a^2\,b\,d\,e^2+3\,A\,a^2\,b\,e^3+3\,B\,a\,b^2\,d^2\,e+2\,A\,a\,b^2\,d\,e^2+4\,B\,b^3\,d^3+A\,b^3\,d^2\,e\right )}{4\,e^4}+\frac {b^2\,x^3\,\left (A\,b\,e+3\,B\,a\,e+4\,B\,b\,d\right )}{2\,e^2}+\frac {b\,x^2\,\left (2\,B\,a^2\,e^2+3\,B\,a\,b\,d\,e+2\,A\,a\,b\,e^2+4\,B\,b^2\,d^2+A\,b^2\,d\,e\right )}{2\,e^3}+\frac {B\,b^3\,x^4}{e}}{d^5+5\,d^4\,e\,x+10\,d^3\,e^2\,x^2+10\,d^2\,e^3\,x^3+5\,d\,e^4\,x^4+e^5\,x^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 68.78, size = 372, normalized size = 4.33 \begin {gather*} \frac {- 4 A a^{3} e^{4} - 3 A a^{2} b d e^{3} - 2 A a b^{2} d^{2} e^{2} - A b^{3} d^{3} e - B a^{3} d e^{3} - 2 B a^{2} b d^{2} e^{2} - 3 B a b^{2} d^{3} e - 4 B b^{3} d^{4} - 20 B b^{3} e^{4} x^{4} + x^{3} \left (- 10 A b^{3} e^{4} - 30 B a b^{2} e^{4} - 40 B b^{3} d e^{3}\right ) + x^{2} \left (- 20 A a b^{2} e^{4} - 10 A b^{3} d e^{3} - 20 B a^{2} b e^{4} - 30 B a b^{2} d e^{3} - 40 B b^{3} d^{2} e^{2}\right ) + x \left (- 15 A a^{2} b e^{4} - 10 A a b^{2} d e^{3} - 5 A b^{3} d^{2} e^{2} - 5 B a^{3} e^{4} - 10 B a^{2} b d e^{3} - 15 B a b^{2} d^{2} e^{2} - 20 B b^{3} d^{3} e\right )}{20 d^{5} e^{5} + 100 d^{4} e^{6} x + 200 d^{3} e^{7} x^{2} + 200 d^{2} e^{8} x^{3} + 100 d e^{9} x^{4} + 20 e^{10} x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________